package com.doucat.doucatmath;

import com.doucat.doucatmath.fragment.LinearFragment;
import com.doucat.doucatmath.fragment.QuadraticFragment;
import com.doucat.doucatmath.fragment.TriangleFragment;
import com.doucat.support.fast.TabIndicatorFragment;

/**
 * -----------------------------------------------------------------
 * Copyright (C) 2021-2031, by tonly, All rights reserved.
 * -----------------------------------------------------------------
 * File: MainFragment.java
 * Author: wangfy
 * Create: 2021/7/28 15:12
 */
public class MainFragment extends TabIndicatorFragment {
    @Override
    public void loadingTabLayoutFragment() {
        super.loadingTabLayoutFragment();
        hideBackButton();
        addTab(getString(R.string.linear_fx),new LinearFragment());
        addTab(getString(R.string.quadratic_fx),new QuadraticFragment());
        addTab(getString(R.string.triangle_fx),new TriangleFragment());
    }
}